package com.tony.second;

import com.tony.second.bean.ConfigBean;
import com.tony.second.bean.CeShiConfigBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
@EnableConfigurationProperties({ConfigBean.class, CeShiConfigBean.class})
public class SecondSpringBootConfigApplication {

    public static void main(String[] args) {
        //SpringApplication springApplication = new SpringApplication(SecondSpringBootConfigApplication.class);
        //springApplication.setBannerMode(Banner.Mode.OFF);
        //springApplication.setAddCommandLineProperties(false);
        //springApplication.run(args);
        SpringApplication.run(SecondSpringBootConfigApplication.class, args);
    }

}
